package cn.edu.swpu.cins.u_chain.frontend.dao.user;

import cn.edu.swpu.cins.u_chain.frontend.entity.dto.user.teacher.TeacherDetail;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.user.teacher.TeacherInfoDB;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TeacherDao {
    //老师添加信息
    int addTeacherInfo(TeacherInfoDB teacherInfoDB);

    TeacherDetail selectTeacherInfo(int userId);
}
